﻿using TestBat.IModels.Domain;
using TestBat.IViewModels.Workspaces.Gradings;
using TestBat.ViewModels.Base;

namespace TestBat.ViewModels.Workspaces.Gradings
{
    public class ScheduleComboBoxItemViewModel : ComboBoxItemViewModel<ISchedule>, IScheduleComboBoxItemViewModel
    {
        public override string Text
        {
            get
            {
                if (Item != null)
                    return Item.Name;
                return "None"; // HACK: UI text in the view model!
            }
        }
    }
}
